package master;

public class Employer {
    private int empno; //员工编码
    private String ename;
    private String job; //岗位
    private int deptno; //部门编码
    private String password;
    private Integer role;

    public Employer() {
    }

    public Employer(int empno, String ename, String job, int deptno, String password, Integer role) {
        this.empno = empno;
        this.ename = ename;
        this.job = job;
        this.deptno = deptno;
        this.password = password;
        this.role = role;
    }

    public int getEmpno() {
        return empno;
    }

    public void setEmpno(int empno) {
        this.empno = empno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public int getDeptno() {
        return deptno;
    }

    public void setDeptno(int deptno) {
        this.deptno = deptno;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }
}
